package com.teamwhole.modules.oa.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.teamwhole.core.persistence.ActEntity;
import com.teamwhole.modules.sys.entity.User;

public class WorkOrder extends ActEntity<WorkOrder> {
	
	private static final long serialVersionUID = 1L;
	
	private String source;		// 来源
	private String sourceName;
	private String gridId;		// 广场
	private String regionId;	// 区域
	private String gridName;
	private String regionName;
	private String facilityId;
	private String facilityName;
	private String scoreType;
	private String scoreTypeName;
	private Double score;
	//private Facility facility;	// 设施
	private String type;	// 类型	设施安装、设施更换、设施拆除、广场活动、其它
	private String typeName;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;// 工单时间
	private Double limitHour;// 期限
	private String content;	// 内容
	private String pic;
	private User creator;
	
	private String status;	// 工单状态	工单创建[0]/工单派发[1]/工单处理[2]/工单审核[3]/工单延期[4]/工单结束[5]
	
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getFacilityId() {
		return facilityId;
	}
	public void setFacilityId(String facilityId) {
		this.facilityId = facilityId;
	}
	public String getFacilityName() {
		return facilityName;
	}
	public void setFacilityName(String facilityName) {
		this.facilityName = facilityName;
	}
	public String getScoreType() {
		return scoreType;
	}
	public void setScoreType(String scoreType) {
		this.scoreType = scoreType;
	}
	public String getScoreTypeName() {
		return scoreTypeName;
	}
	public void setScoreTypeName(String scoreTypeName) {
		this.scoreTypeName = scoreTypeName;
	}
	public Double getScore() {
		return score;
	}
	public void setScore(Double score) {
		this.score = score;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Double getLimitHour() {
		return limitHour;
	}
	public void setLimitHour(Double limitHour) {
		this.limitHour = limitHour;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	public User getCreator() {
		return creator;
	}
	public void setCreator(User creator) {
		this.creator = creator;
	}
	public String getGridId() {
		return gridId;
	}
	public void setGridId(String gridId) {
		this.gridId = gridId;
	}
	public String getRegionId() {
		return regionId;
	}
	public void setRegionId(String regionId) {
		this.regionId = regionId;
	}
	public String getGridName() {
		return gridName;
	}
	public void setGridName(String gridName) {
		this.gridName = gridName;
	}
	public String getRegionName() {
		return regionName;
	}
	public void setRegionName(String regionName) {
		this.regionName = regionName;
	}
	public String getSourceName() {
		return sourceName;
	}
	public void setSourceName(String sourceName) {
		this.sourceName = sourceName;
	}
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	
}
